home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000418_news@columbia.edu _Tue Apr 16 08:24:37 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id IAA09447 for <kermit.misc@watsun>; Tue, 16 Apr 1996 08:24:32 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id IAA21708 for kermit.misc@watsun; Tue, 16 Apr 1996 08:24:30 -0400 (EDT)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!news.msfc.nasa.gov!newsfeed.internetmci.com!in2.uu.net!hearst.acc.Virginia.EDU!murdoch!usenet
  6. From: ghp5h@virginia.edu (George H. Payne)
  7. Subject: Re: K95 script crawling
  8. X-Nntp-Posting-Host: ghp5hpc.law.virginia.edu
  9. Content-Type: Text/Plain; charset=US-ASCII
  10. Message-ID: <Dpx8Hp.G19@murdoch.acc.Virginia.EDU>
  11. Sender: usenet@murdoch.acc.Virginia.EDU
  12. Organization: University of Virginia School of Law
  13. X-Newsreader: WinVN 0.99.7
  14. References: <Dpx2AL.8Ix@murdoch.acc.Virginia.EDU>
  15. Mime-Version: 1.0
  16. Date: Mon, 15 Apr 1996 20:49:01 GMT
  17. Lines: 39
  18.  
  19. In article <Dpx2AL.8Ix@murdoch.acc.Virginia.EDU>, ghp5h@virginia.edu says...
  20.  
  21. Forgot to mention:  this is over a telnet connection to a local unix box.
  22.  
  23. >
  24. >The script below is basically a loop that looks for begin-print and end-print 
  25. >print-through escape sequences and captures the stuff that is supposed to be 
  26. >printing to a file, post.tmp.  Under msdos kermit, this script runs at 
  27. >reasonable, if not terribly amazing, speed (it processes a line per second or 
  28. >so).  Under K95 on a better computer running winNT with nothing else running, 
  29. >it CRAWLS (one line every couple of minutes).
  30. >
  31. >Do I need to set some kind of polling parameter or something?
  32. >
  33. >Thanks for any help.
  34. >
  35. >
  36. >set input timeout-action proceed
  37. >input 10 ____________________
  38. >if failure goto locked
  39. >
  40. >
  41. >:loop
  42. >input 40 \{27}[5i
  43. >if failure goto endloop
  44. >log session post.tmp
  45. >input 40 \{27}[4i
  46. >if failure goto noendprint
  47. >close session
  48. >goto loop
  49. >:endloop
  50. >
  51. >; Out of loop
  52.  
  53. -- 
  54. George H. Payne
  55. Law Information Technology and Communications
  56. UVa Law School
  57.